<template>
  <div v-html="Vhtml" class="overflow-hidden"></div>
</template>
<script setup lang="ts">
import { getText } from "@/utils/api";
import { useRoute } from "vue-router";
import { ref } from "vue";
const Vhtml = ref();
const route = useRoute();
const getData = async () => {
  let param = {
    type: route.query.types,
    id: route.query.id,
  };
  const res = await getText(param);
  Vhtml.value = res.msg;
};
getData();
</script>
